/* Body Styles */
body {
    background-color:#262132;
    color: ghostwhite;
    margin: 0;
    padding: 0;
    font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
    
    
/*This is the navigation bar style*/

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 10px 10px;
  z-index: 1000;
  background-color: rgb(238, 180, 190);
  box-shadow: 0 2px 10px rgb(234, 196, 203);
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav li {
  margin: 0;
}

nav a {
  color: ghostwhite;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
}

nav a:hover {
  color: black;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: ghostwhite;
  background-color: rgb(238, 180, 190);
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1100;
  cursor: pointer;
}

.nav-toggle:hover {
  background-color: rgb(172, 115, 125);
}

/* MOBILE STYLES */

@media (max-width: 900px) {
  nav {
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .nav-toggle {
    display: block;
    z-index: 1101;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;           
    justify-content: flex-start;
    display: none;
    width: 100%;
    position: fixed;                
    top: 0;                        
    left: 0;
    padding-top: 10px;              
    background-color: rgb(238, 180, 190);
    z-index:1000;                  
  }

  .nav-menu.show {
    display: flex;
  }

  nav li {
    width: 100%;
    text-align: center;            
    padding: 10px 0;
  }
}

/*This is the Index Page header style*/

h1 {
    font-size: 6rem;
    color: ghostwhite;
    margin-bottom: 20px;
    position: relative;
}

h2 {
    font-size: 3rem;
    color: ghostwhite;
    margin-top: 10px;
    padding-bottom: 6vh;
}

button {
    font-size: 1.5rem;
    color: ghostwhite;
    background-color: rgb(238, 180, 190);
    border: 2px solid ghostwhite;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 6px rgb(33, 32, 33);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
}

button:hover  {
    background-color: rgb(172, 115, 125);
    text-decoration: none;
}

.container /* This is the Home page Image Container */ {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    text-align: center;
    padding-top: 60px;
    background-image: url("Japanese Garden Design Images/Himeji Gardens.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding: 0;
    max-width: 1920px;
}

.container::before /* This is the Home page Image overlay */ {
    display:flex;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.32);
    z-index: 0;
}

.header-content, .button-container { 
    position: relative;
    z-index: 1;
}
 /* Mobile Styles */

@media (max-width: 620px) {

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .button-container {
        margin: 0 20px;
        font-size: 1rem;
    }


}
/*This is the main content styles*/

.page-wrapper {
     display: flex;
     flex-direction: column;
     min-height: 100vh;
}

.main-content-wrapper {
    flex: 1;
}

.main-content {
     border-radius: 10px;
     background-color: rgba(238, 180, 190, 0.926); 
     box-shadow: 0 5px 15px rgb(32, 31, 31);
     margin: 80px auto;
     max-width: 800px;
     padding: 20px;
     text-align:center;
}

.main-content h2 {
     font-size: 24px;
     color: ghostwhite; 
     border-bottom: 2px solid rgba(255, 205, 213, 0.903);
     padding-bottom: 5px;
     display: inline-block;
}

.main-content p {
    font-size: 18px;
    color: ghostwhite;
    line-height: 1.6;
    text-align: center;
}

/* Mobile Styles */

@media (max-width: 620px) {
    .main-content {
        margin: 20px 20px;
    }
}

@media (max-width: 850px) {
    .main-content {
        margin: 20px 20px;
    }
}


/*This is the list style*/

ul {
    font-size: 18px;
    list-style: disc inside;
}

/* About Us page Styles */


.two-column-container {
  display: flex;
  justify-content: space-between;
  margin: 100px 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.about-column {
 flex-basis: 48%;
}

.about-column img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgb(238, 180, 190);
  box-shadow: 0 0 10px rgb(238, 180, 190);
}

.about-section {
 background-color: rgb(238, 180, 190);
 box-shadow: 0 0 10px rgb(238, 180, 190);
 padding: 20px;
 margin: 0px auto;
 border-radius: 10px;
 max-width: 800px;
}

.about-section h2 {
     font-size: 32px;
     color: ghostwhite; 
     border-bottom: 2px solid rgba(255, 205, 213, 0.903);
     padding-bottom: 5px;
     margin-bottom: 20px;
     padding-bottom: 5px;
     display: inline-block;
}

.about-section p {
   font-size: 20px;
   color: ghostwhite;
   line-height: 1.6;
}

@media screen and (max-width: 1000px) {
  .two-column-container {
    flex-direction: column;
    margin: 50px 1rem;
  }

  .about-column {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .about-column img {
    margin-top: 35px; 
  }
}

/* Call to action Style */

.call-to-action {
  background-color: rgba(214, 150, 161, 0.752);
  text-align: center;
  padding: 50px 20px;
}

/* Gallery Section Styles */

#gallery-heading {
    text-align: center;
    width: 100%;
}

#main-gallery-container {
 margin-top: 5vh;
 padding: 0 1rem;
}

#gallery {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 width: 100%;
 max-width: 100%;
 margin: 20px auto;
 gap: 10px;
}

figure {
 margin: 0;
 padding: 0;
 position: relative; 
}

figure img {
 width: 100%;
 height: 100%;
 padding: 0;
 box-shadow: 0px 0px 3px rgb(47, 47, 47);
 z-index: -1;
 border: 3px solid ghostwhite;
}

figcaption {
 background-color: rgb(238, 180, 190);
 text-align: center;
 color: ghostwhite;
 z-index: 1;
 font-size: 0.875rem;
 position: absolute;
 bottom: 3px;
 left: 3px;
 right: 3px;
 padding: 4px;
}

@media screen and (max-width: 900px) {
  figcaption { 
    font-size: 0.75rem;
  }

   #gallery-heading
  {
    font-size: 3rem;
    padding: 20px;
  }

  #gallery {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  #main-gallery-container {
    padding: 0 0.5rem;
  }
}

@media screen and (max-width: 600px) {
  figcaption { 
    font-size: 0.625rem;
  }

  #gallery-heading
  {
    font-size: 3rem;
    padding: 20px;
  }
  #gallery {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Plants Section Styles */

#plants-header-container {
    margin-top: 5vh;
}

#plants-heading {
    text-align: center;
    width: 100%;
}

.carousel-container {
    max-width: 1000px;
    margin: auto auto;
    position: relative;
    background: rgba(238, 180, 190, 0.954);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(234, 196, 203);
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: stretch;
    padding-top: 20px;
}

.column {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 100%;
    padding: 0 40px;
    margin:auto;
}

.column:first-child {
    background:transparent;
}

.column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-items: center;
    display: block;
    max-width: 100%;
    margin: auto auto;
    border: 3px solid black;
    box-shadow: 0 0 10px black;
}

.plant-chapter-section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.plant-chapter-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    padding: 10px 0;
    margin:0;
}

.plant-chapter-section p {
    color: white;
    background: rgb(238, 180, 190);
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.617);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 8px;
}

.buy-button-container {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button-container:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(255, 255, 255, 0.9);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: transparent;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ebe6e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #27ae60;
    transform: scale(1.2);
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .carousel-container {
        max-width: 95%;
        margin: 10px auto;
    }

     .carousel-slide {
        flex-direction: column;
    }

    .plant-chapter-section {
        padding: 30px;
    }

    .plant-chapter-section h2 {
        font-size: 1.8rem;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .carousel-container {
        margin: 20px;
        border-radius: 10px;
    }

    .carousel-slide {
        flex-direction: column;
    }


    .column img {
        height: 250px;
        width: 100%;
    }

    .plant-chapter-section {
        padding: 25px;
        min-height: auto;
    }

    .plant-chapter-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .plant-chapter-section p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .carousel-arrow.prev {
        left: 15px;
    }

    .carousel-arrow.next {
        right: 15px;
    }

    .carousel-counter {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

         .footer-nav {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .carousel-container {
        margin: 0 0.5rem;
        border-radius: 8px;
    }


.column {
        padding: 0 20px; 
    }

    .plant-chapter-section {
        padding: 18px;
    }

    .plant-chapter-section h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .plant-chapter-section p {
        font-size: 0.9rem;
        margin-bottom: 16px;
        padding: 12px;
    }

    .buy-button-container {
        padding: 9px 22px;
        font-size: 0.85rem;
    }

    .column img {
        height: 190px;
        border: 2px solid black; 
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .carousel-arrow.prev {
        left: 8px;
    }

    .carousel-arrow.next {
        right: 8px;
    }

    .carousel-counter {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}


/* Mobile portrait */
@media (max-width: 480px) {
    .carousel-container {
        margin: 0 0.5rem;
        border-radius: 10px;
        
    }

    .column {
        padding: 0 15px;
    }

    .column img {
        height: 200px;
    }

    .plant-chapter-section {
        padding: 20px;
    }

    .plant-chapter-section h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .plant-chapter-section p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .buy-button-container {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    .carousel-indicators {
        padding: 15px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-counter {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .carousel-container {
        margin: 0 0.25rem; /* Even smaller margins */
    }

    .column {
        padding: 0 10px; /* Minimal horizontal padding */
    }

    .plant-chapter-section {
        padding: 15px;
    }

    .plant-chapter-section h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .plant-chapter-section p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        padding: 10px; /* Reduced padding */
    }

    .buy-button-container {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .column img {
        height: 180px;
        border: 2px solid black; /* Thinner border for very small screens */
    }
}

/* Contact Page Styles */

#contact-form-container {
    margin-top: 45px;
    padding: 0;
}

#contact-heading {
 margin:0;
 padding:0;
 width: 100%;
 text-align: center;
 margin-top: 5vh;
}

.contact h2,
h3 {
    text-align: center;
}

.contact h3 {
  margin: 0;
  padding: 0px 20px;
  width: 100%
}

.contact-box {
  background-color: rgb(238, 180, 190); 
  padding: 20px;
  border-radius: 8px;
  max-width: 1000px;
  margin: 20px auto;
  box-shadow: 0 2px 8px ghostwhite; 
}

form {
    padding-top: 20px;
}
.form-group {
    margin-bottom: 1.5rem;
}

.contact-box input[type="text"],
.contact-box input[type="submit"],
.contact-box input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid rgb(108, 108, 108);
}

.contact-box input[type="submit"] {
  background-color: rgb(214, 150, 161);
  color: white;
  border: none;
  cursor: pointer;
}

.contact-box input[type="submit"]:hover {
  background-color: rgb(172, 115, 125);
}

#message-box {
    width:100%;
    border: 1px solid rgb(108, 108, 108);
    padding: 8px;
    border-radius: 4px;
    margin-top: 5px;
}

input:valid,
textarea:valid,
select:valid {
    border: 3px solid #28a745;
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 620px) {
    .contact-box {
        margin: 20px 20px;
    }

    h3 {
        text-align: start;
    }

    form {
        padding-top: 20px;
    }
}

@media (max-width: 1050px) {
    .contact-box {
        margin: 20px 20px;
        
    }

    form {
        padding-top: 20px;
    }
}


/*This is the footer style*/

footer {
    background-color: rgb(238, 180, 190);
    padding: 20px 0px;
    box-shadow: 0 2px 10px rgb(234, 196, 203);
}

.footer-content {
    color: ghostwhite;
    text-align: center;
    max-width: 1200px;
    margin: auto auto;
    padding: 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    padding: 2rem 2rem;
    text-decoration: none;
    list-style-type: none;
    margin-bottom: 10px; 
    position: relative;
    gap: 1.5rem;
    transform: color 0.3s;
}

.footer-nav a:hover {
    color: black;
    text-decoration: none;
    transform: color 0.3s;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: ghostwhite;
    padding:0px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: black;
    text-decoration: none;
}

 